package lab.gene.history.action;

import java.util.List;

import lab.gene.pojo.GeneSecondStagePCR;
import lab.gene.service.impl.GeneSecondStagePCRServiceImpl;

import com.opensymphony.xwork2.ActionSupport;

public class ViewSecondStagePCRHistoryAction extends ActionSupport {
	
	private static final long serialVersionUID = 1L;
	private List<GeneSecondStagePCR> historyList = null;
	private String geneName = null;
	private String stepType = null;
	
	public String execute() {
		
		GeneSecondStagePCRServiceImpl service = new GeneSecondStagePCRServiceImpl();
		historyList = service.getGeneSecondStagePCRHistory(geneName, stepType);
		return "success";
	}

	public List<GeneSecondStagePCR> getHistoryList() {
		return historyList;
	}

	public void setHistoryList(List<GeneSecondStagePCR> historyList) {
		this.historyList = historyList;
	}

	public String getGeneName() {
		return geneName;
	}

	public void setGeneName(String geneName) {
		this.geneName = geneName;
	}

	public String getStepType() {
		return stepType;
	}

	public void setStepType(String stepType) {
		this.stepType = stepType;
	}
	
	

}
